{OVERALL_HEADER}
<script>
function change_transfer(field)
{
	document.getElementById('username').value = field.value;
}
</script>
<div id="column">
	{OVERALL_LEFT_MENU}
</div>
<div id="content">
IF("{TYPE}"=="Buyer"){ <!-- 
{:IF}     
	<form name="form1" method="post" action="">
        <span class="header1">Escrow Money to a {TYPE}</span>        
        <br><br>
		IF("{NUM_PROJECTS}"!="0"){
        <select name="select_user" style="width:170px;" onChange="change_transfer(this);">
          <option value="" selected>Select a project</option>
		  {LOOP: CLOSED_PROJECT}
		  <option value="{CLOSED_PROJECT.provider}">{CLOSED_PROJECT.title}</option>
		  {/LOOP: CLOSED_PROJECT}
        </select>
        {:IF}
		<br>
        <strong>{TYPE} {LANG_USERNAME}:</strong><br>
        <input name="username" type="text" id="username" style="width:170px; background:#fff; border: 1px solid #B2DAEE;" disabled="true">
        <br>
        <strong>How much money would you like to create an escrow for:</strong><br>
  {CURRENCY_SIGN}
  <input name="amount" type="text" id="amount" size="6" class="normal">
  <br>
  <br>
  <input type="submit" name="Submit" value="{LANG_SENDPAY}" onclick="return confirm('Are you sure you want to escrow these funds?');" class="button">
 
     </form>
IF("{TYPE}"=="Buyer"){ -->
{:IF}
</div>
<div style="clear:both;"></div>  
{OVERALL_FOOTER}